var runtime.maxstacksize
12 uses
runtime (current package)
proc.go#L158: maxstacksize = 1000000000
proc.go#L160: maxstacksize = 250000000
proc.go#L166: maxstackceiling = 2 * maxstacksize
rdebug.go#L11: out = int(maxstacksize)
rdebug.go#L12: maxstacksize = uintptr(in)
stack.go#L527: var maxstacksize uintptr = 1 << 20 // enough until runtime.main sets it for real
stack.go#L529: var maxstackceiling = maxstacksize
stack.go#L1110: if newsize > maxstacksize || newsize > maxstackceiling {
stack.go#L1111: if maxstacksize < maxstackceiling {
stack.go#L1112: print("runtime: goroutine stack exceeds ", maxstacksize, "-byte limit\n")
stack.go#L1368: if avg > uint64(maxstacksize) {
stack.go#L1369: avg = uint64(maxstacksize)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |